<%@ page contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@taglib uri="/WEB-INF/tld/importTag.tld" prefix="importTag"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<c-rt:set var="hostName" value='<%=request.getServerName()%>'/>
<c-rt:set var="frontContentHtmlPath" value='<%=ServerValue.getFrontContentHtmlPath()%>'/>
<c-rt:set var="frontHtmlPath" value='<%=ServerValue.getFrontApachePath()%>'/>
<%
	response.setHeader("Pragma","No-Cache");  
	response.setHeader("Cache-Control","No-Cache");  
	response.setDateHeader("Expires",   0);   
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<meta http-equiv="description" content="${pageDescription}" />
		<meta http-equiv="keywords" content="${pageKeywords}" />
		<meta http-equiv="pragma" content="no-cache"/>
		<meta http-equiv="cache-control" content="no-cache"/>
		<meta http-equiv="expires" content="0"/>    
		<title>
			${pageTitle}
			<tiles:insertAttribute name="title" ignore="true" />
			<tiles:insertAttribute name="commonTitle" ignore="true" />
		</title>
		<link rel="stylesheet" href="/css/jquery-ui-1.7.2.custom.css" type="text/css" media="screen" />		
		<link rel="stylesheet" href="/css/yaodian100_header_v5.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="/css/yaodian100_v2.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="/css/yaodian100_footer_v3.css" type="text/css" media="screen" />
		<script type="text/javascript" charset="UTF-8" src="/js/jquery-1.3.2.min.js"></script>
		<script type="text/javascript" charset="UTF-8" src="/js/jquery-ui-1.7.2.custom.min.js"></script>
		<script type="text/javascript" charset="UTF-8" src="/js/jquery.bgiframe.min.js"></script>
		<script type="text/javascript" charset="UTF-8" src="/js/onchangeTab_v2.js"></script>
		<script type="text/javascript" charset="UTF-8" src="/js/jquery.autocomplete.min.js"></script>
		<script type="text/javascript" src="/js/pageable.js"></script>
	</head>
	<body>
		<div id="container">
			<c-rt:if test="${!fn:endsWith(hostName, 'yaodian100.com')}">
				<importTag:static path="${frontHtmlPath}${hostName}/pages/header/customTop.html"/>
			</c-rt:if>
			<importTag:static path="${frontHtmlPath}/pages/header/${hostName}_header.html"/>
			<div id="header">
				<tiles:insertAttribute name="topbar" ignore="true" />
				<tiles:insertAttribute name="logobar" ignore="true" />
				<tiles:insertAttribute name="categorynav" ignore="true" />
				<importTag:static path="${frontContentHtmlPath}${hostName}/IDX/SEARCHBAR_V2.html"/>
			</div>
			<div class="location"></div>
			<tiles:insertAttribute name="content" ignore="true" />
			<div id="footer">
				<importTag:static path="${frontHtmlPath}${hostName}/pages/footer/footer_text.html"/>
			</div>
			<c-rt:if test="${!fn:endsWith(hostName, 'yaodian100.com')}">
				<importTag:static path="${frontHtmlPath}${hostName}/pages/footer/customBottom.html"/>
			</c-rt:if>
			<importTag:static path="${frontHtmlPath}/pages/footer/${hostName}_footer.html"/>
		</div>
	</body>
</html>